<?php echo $this->element('head'); ?>
<body>
    <div class="main_temp"> 
        <!--Element Header--> <?php echo $this->element('home_header'); ?> </div>
    <div id="middle">
        <div class="wrapper">
            <div class="main">
                <?php echo $this->Session->flash(); ?>
                <?php echo $content_for_layout; ?>
                <div class="pad_10"></div>
                <div class="common_border"></div>
                <div class="footer"> 
                    <!--Footer Element--> 
                    <?php echo $this->element('footer'); ?> </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</body>
<?php echo $facebook->init(); ?> 